﻿<UserControl x:Class="MediaPlayerSongReader.UserControls.OptionUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <StackPanel Margin="10">
        
        <GroupBox Padding="5px" Header="Output">
            <StackPanel Orientation="Vertical">
                
                <CheckBox Margin="0px 0px 0px 5px" Name="cbShortenOutput">Shorten output</CheckBox>
                
                <StackPanel Orientation="Horizontal">
                    <Label>Output length:</Label>
                    <ComboBox IsEnabled="{Binding ElementName=cbShortenOutput, Path=IsChecked}" Width="60" Name="combShortenOutput"/>
                </StackPanel>
                
            </StackPanel>
        </GroupBox>


        <Button Name="btnSave" Width="50px" HorizontalAlignment="Right" Margin="0,30,0,0" Click="btnSave_Click">Save</Button>
        
    </StackPanel>
</UserControl>
